Automattic\WooCommerce\Pinterest\FeedGenerator A

Total Complexity 52
Dependencies 6
Dependents 1
Total lines 540
Lines of code 267
Logical lines of code 111
Comment lines 204
Methods 26
Properties 2

Methods 26

Method Rating Maintainability Complexity Lines of code
process_items()
S
41 5 59
deregister()
S
62 6 11
check_write_for_io_errors()
S
58 3 18
handle_end()
S
58 3 16
rename_temporary_feed_files_to_final()
S
60 3 14
write_buffers_to_temp_files()
S
61 3 13
handle_start()
S
59 2 15
check_if_feed_file_exists()
S
66 3 8
init()
S
63 2 12
get_items_for_batch()
S
58 1 19
add_footer_to_temporary_feed_files()
S
64 2 10
prepare_temporary_files()
S
66 2 9
prepare_feed_buffers()
S
73 2 5
mark_feed_dirty()
S
67 2 8
start_generation()
S
67 2 8
get_locations()
S
80 1 3
get_batch_size()
S
82 1 3
__construct()
S
76 1 4
feed_is_dirty()
S
80 1 3
handle_error()
S
65 1 10
mark_feed_clean()
S
80 1 3
get_plugin_name()
S
82 1 3
get_name()
S
82 1 3
cancel_jobs()
S
79 1 3
schedule_next_generator_start()
S
71 1 5
process_item()
S
91 1 2